package com.hzz.dao.eybase;

import com.hzz.framework.dao.IBaseDao;
import com.hzz.framework.entity.IEntity;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>ey_渠道-渠段 数据库处理接口类。
 */
@Mapper
public interface IEyBaseImportDao extends IBaseDao {
    @Delete("delete from river_info where type = 1")
    int deleteType1(IEntity entity) throws Exception;

    @Delete("delete from river_info where type = 2")
    int deleteType2(IEntity entity) throws Exception;

    @Delete("delete from river_info where type = 3")
    int deleteType3(IEntity entity) throws Exception;

    int importType1(IEntity entity) throws Exception;

    int importType2(IEntity entity) throws Exception;

    int importType3(IEntity entity) throws Exception;

    int importUser(IEntity entity) throws Exception;

    int importUserRole(IEntity entity) throws Exception;
}
